package com.atguigu.team.domain;

import com.atguigu.team.service.Status;

public class Architect extends Designer {
 
	private int stock;
	
	public Architect() {}
	
	public Architect(int id, String name, int age, double salary,int memberid, Status status,Equipment equipment, double bonus,int stock) {
		super(id, name, age, salary, memberid, status, equipment, bonus);
		this.stock = stock;
	}
 
	public int getStock() {
		return stock;
	}
 
	public void setStock(int stock) {
		this.stock = stock;
	}
 
	@Override
	public String toString() {
		return super.say() + "\t" + "架构师" + "\t" + getStatus() + "\t" + (int)getBonus() + "\t" + stock + "\t" + getEquipment();
	}
	
	public String toString2() {
		return getMemberId() + "/" + say() + "\t架构师" + "\t" + (int)getBonus() + "\t" + stock;
	}
}
